class GroupCategoryAlter < ActiveRecord::Migration
  def self.up
    add_column :groups, :category, :string, :limit => 30, :default => "", :null => false
    remove_column :groups, :type
  end

  def self.down
    add_column :groups, :type, :string, :limit => 30, :default => "", :null => false
    remove_column :groups, :category
  end
end
